package com.yun.mapper;

import com.yun.entity.UserInfo;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author: fxy
 * @Date: 2022/05/17/8:18
 * @Description:
 */
public interface UserInfoMapper {
  UserInfo select(String id);

  @MapKey("id")
  Map<String,UserInfo> selectUserMap();


  List<UserInfo> selectByName(@Param("name") String name,@Param("id")String id);
}
